*{
    padding: 0;
    margin: 0;
}

.box{
    width: 800px;
    height: 800px;
    background: #000;
    margin: 20px auto;
    position: relative;
    padding-top: 200px;
}

.bettrey{
    width: 200px;
    height: 320px;
    background: #fff;
    margin: 20px auto;
    border-radius: 15px 15px 5px 5px;
    position: relative;
}

.bettrey::before{
    content: "";
    width: 50px;
    height: 28px;
    background: #fff;
    border-radius: 5px 5px 0 0;
    position: absolute;
    top: -20px;
    left: 50%;
    margin-left: -25px;
}

.bettrey::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 90%;
    bottom: 0;
    background: linear-gradient(to bottom, #7abcff 0%, #00bcd4 44%, #2196f3 100%);
    animation: charge 10s linear infinite;
    
}

@keyframes charge{
    0%{
        top:100%;
        filter: hue-rotate(90deg);
    }

    95%{
        top: 5%;
        border-radius: 0px;
    }

    100%{
        top: 0%;
        border-radius: 15px 15px 0 0;
        filter: hue-rotate(0deg);
    }
}

.cover{
    width: 100%;
    height: 100%;
    border-radius: 15px 15px 5px 5px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    overflow: hidden;
}

.cover::before{
    content: "";
    widows: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.8);
    position: absolute;
    border-radius: 40% 30%;
    left: -50%;
    animation: coverBefore 10s linear infinite;
}

.cover::after{
    content: "";
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.7);
    position: absolute;
    border-radius: 42% 40%;
    left: -50%;
    animation: coverAfter 10s linear infinite;
}

@keyframes coverBefore{
    0%{
        transform: rotate(0deg);
        bottom: 0%;
    }

    100%{
        transform: rotate(360deg);
        bottom: 100%;
    }
}

@keyframes coverAfter{
    0%{
        transform: rotate(30deg);
        bottom: 2%;
    }

    100%{
        transform: rotate(360deg);
        bottom: 95%;
    }
}